<style>
.ui-portlet.affix {top: 10px;}
.ui-portlet.affix-bottom {
    bottom: 120px;
    position: fixed;
    top: auto;
}
</style>
<!--start-->
{{$this->Section->getLeftMenu('TaobaoCate',array('parent_id'=> $top_category_id,'selectedid'=>$current_cateid))}}
<!--end-->
<script>
$(function(){
	$('#portlet-49').addClass('span5').css('margin-left','0').affix({offset: {top: function () { return $(window).width() <= 980 ? 290 : 210 }, bottom: 120}});
});
</script>